//
//  LJSectionSegHeaderView.h
//  BaseProject
//
//  Created by 王洋 on 2021/1/6.
//  Copyright © 2021 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, LJSectionSegHeaderActionType) {
    //帖子
    LJSectionSegHeaderActionType_more,
    //问答
    LJSectionSegHeaderActionType_hot,

    LJSectionSegHeaderActionType_new

};

@interface LJSectionSegHeaderView : UIView

@property (weak, nonatomic) IBOutlet UILabel *sectionTitleLab;

@property (weak, nonatomic) IBOutlet UILabel *subTitleLab;

@property (weak, nonatomic) IBOutlet UIImageView *arrowIcon;

@property (weak, nonatomic) IBOutlet UIView *moreControl;


//最新
@property (weak, nonatomic) IBOutlet UIButton *hotestBtn;
//最热
@property (weak, nonatomic) IBOutlet UIButton *newestBtn;


@property (nonatomic, copy) void(^LJHeaderViewBlock)(LJSectionSegHeaderActionType type);

- (void)fillWithType:(LJSectionSegHeaderActionType)type;

@end

NS_ASSUME_NONNULL_END
